package auth

import (
	"context"
	"ruoyi-vue-pro-go/api/auth/v1"
	"ruoyi-vue-pro-go/internal/service"
)

func (c *ControllerV1) Login(ctx context.Context, req *v1.LoginReq) (res *v1.LoginRes, err error) {
	return service.Auth().Login(ctx, req)
}
